package us.nchu.tomtiger.model;

/**
 * Created by XiongXuan on 2018/1/8.
 */
public class User {
    private String phoneNumber;
    private String password;
    private String nickName;
    private int userType;
    private String schoolName;
    private String major;
    private int contact_type;
    private String contact;
    private String intro;
    private String certificate;
    private String studentId;
    private int status=1;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public User() {
    }

    public User(String phoneNumber, String password, String nickName) {
        this.phoneNumber = phoneNumber;
        this.password = password;
        this.nickName = nickName;
        this.userType = 1;
    }

    public User(String phoneNumber, String password, String nickName, int userType, String schoolName, String major, int contact_type, String contact, String intro, String certificate, String studentId) {
        this.phoneNumber = phoneNumber;
        this.password = password;
        this.nickName = nickName;
        this.userType = userType;
        this.schoolName = schoolName;
        this.major = major;
        this.contact_type = contact_type;
        this.contact = contact;
        this.intro = intro;
        this.certificate = certificate;
        this.studentId = studentId;
    }

    @Override
    public String toString() {
        return "phoneNumber=" + phoneNumber +
                "\npassword=" + password +
                "\nnickName=" + nickName +
                "\nuserType=" + userType +
                "\nschoolName=" + schoolName +
                "\nmajor=" + major +
                "\ncontact_type=" + contact_type +
                "\ncontact=" + contact +
                "\nintro=" + intro;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public int getContact_type() {
        return contact_type;
    }

    public void setContactType(int contact_type) {
        this.contact_type = contact_type;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }
}
